import request from '@/utils/request'

// 查询藏品出售展示列表
export function listShow(query) {
  return request({
    url: '/show/show/list',
    method: 'get',
    params: query
  })
}

// 查询藏品出售展示详细
export function getShow(collectionShowId) {
  return request({
    url: '/show/show/' + collectionShowId,
    method: 'get'
  })
}

// 新增藏品出售展示
export function addShow(data) {
  return request({
    url: '/show/show',
    method: 'post',
    data: data
  })
}

// 修改藏品出售展示
export function updateShow(data) {
  return request({
    url: '/show/show',
    method: 'put',
    data: data
  })
}

// 删除藏品出售展示
export function delShow(collectionShowId) {
  return request({
    url: '/show/show/' + collectionShowId,
    method: 'delete'
  })
}
